
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>前言 · C++并发编程实战（第2版）</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="陈晓伟 chenxiaowei">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="acknowledgments-chinese.html" />
    
    
    <link rel="prev" href="Praise_for_the_first_edition.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="Praise_for_the_first_edition.html">
            
                <a href="Praise_for_the_first_edition.html">
            
                    
                    第一版的赞许
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.3" data-path="preface-chinese.html">
            
                <a href="preface-chinese.html">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="acknowledgments-chinese.html">
            
                <a href="acknowledgments-chinese.html">
            
                    
                    感谢
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="about_this_book-chinese.html">
            
                <a href="about_this_book-chinese.html">
            
                    
                    关于本书
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="about_the_author-chinese.html">
            
                <a href="about_the_author-chinese.html">
            
                    
                    关于作者
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="about_cover_illustration-chinese.html">
            
                <a href="about_cover_illustration-chinese.html">
            
                    
                    关于封面
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="chapter1/1.0-chinese.html">
            
                <a href="chapter1/1.0-chinese.html">
            
                    
                    第1章 你好，并发世界
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="chapter1/1.1-chinese.html">
            
                <a href="chapter1/1.1-chinese.html">
            
                    
                    1.1 何谓并发
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="chapter1/1.2-chinese.html">
            
                <a href="chapter1/1.2-chinese.html">
            
                    
                    1.2 为什么使用并发
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="chapter1/1.3-chinese.html">
            
                <a href="chapter1/1.3-chinese.html">
            
                    
                    1.3 并发和多线程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.4" data-path="chapter1/1.4-chinese.html">
            
                <a href="chapter1/1.4-chinese.html">
            
                    
                    1.4 开始入门
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.5" data-path="chapter1/1.5-chinese.html">
            
                <a href="chapter1/1.5-chinese.html">
            
                    
                    1.5 本章总结
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="chapter2/2.0-chinese.html">
            
                <a href="chapter2/2.0-chinese.html">
            
                    
                    第2章 线程管理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="chapter2/2.1-chinese.html">
            
                <a href="chapter2/2.1-chinese.html">
            
                    
                    2.1 线程的基本操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="chapter2/2.2-chinese.html">
            
                <a href="chapter2/2.2-chinese.html">
            
                    
                    2.2 传递参数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="chapter2/2.3-chinese.html">
            
                <a href="chapter2/2.3-chinese.html">
            
                    
                    2.3 转移所有权
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.4" data-path="chapter2/2.4-chinese.html">
            
                <a href="chapter2/2.4-chinese.html">
            
                    
                    2.4 确定线程数量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.5" data-path="chapter2/2.5-chinese.html">
            
                <a href="chapter2/2.5-chinese.html">
            
                    
                    2.5 线程标识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.6" data-path="chapter2/2.6-chinese.html">
            
                <a href="chapter2/2.6-chinese.html">
            
                    
                    2.6 本章总结
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="chapter3/3.0-chinese.html">
            
                <a href="chapter3/3.0-chinese.html">
            
                    
                    第3章 共享数据
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="chapter3/3.1-chinese.html">
            
                <a href="chapter3/3.1-chinese.html">
            
                    
                    3.1 共享数据的问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" data-path="chapter3/3.2-chinese.html">
            
                <a href="chapter3/3.2-chinese.html">
            
                    
                    3.2 使用互斥量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.3" data-path="chapter3/3.3-chinese.html">
            
                <a href="chapter3/3.3-chinese.html">
            
                    
                    3.3 保护共享数据的方式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.4" data-path="chapter3/3.4-chinese.html">
            
                <a href="chapter3/3.4-chinese.html">
            
                    
                    3.4 本章总结
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="chapter4/4.0-chinese.html">
            
                <a href="chapter4/4.0-chinese.html">
            
                    
                    第4章 同步操作
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="chapter4/4.1-chinese.html">
            
                <a href="chapter4/4.1-chinese.html">
            
                    
                    4.1 等待事件或条件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2" data-path="chapter4/4.2-chinese.html">
            
                <a href="chapter4/4.2-chinese.html">
            
                    
                    4.2 使用future
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.3" data-path="chapter4/4.3-chinese.html">
            
                <a href="chapter4/4.3-chinese.html">
            
                    
                    4.3 限时等待
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.4" data-path="chapter4/4.4-chinese.html">
            
                <a href="chapter4/4.4-chinese.html">
            
                    
                    4.4 简化代码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.5" data-path="chapter4/4.5-chinese.html">
            
                <a href="chapter4/4.5-chinese.html">
            
                    
                    4.5 本章总结
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="chapter5/5.0-chinese.html">
            
                <a href="chapter5/5.0-chinese.html">
            
                    
                    第5章 内存模型和原子操作
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.12.1" data-path="chapter5/5.1-chinese.html">
            
                <a href="chapter5/5.1-chinese.html">
            
                    
                    5.1 内存模型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.2" data-path="chapter5/5.2-chinese.html">
            
                <a href="chapter5/5.2-chinese.html">
            
                    
                    5.2 原子操作和原子类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.3" data-path="chapter5/5.3-chinese.html">
            
                <a href="chapter5/5.3-chinese.html">
            
                    
                    5.3 同步操作和强制排序
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.4" data-path="chapter5/5.4-chinese.html">
            
                <a href="chapter5/5.4-chinese.html">
            
                    
                    5.4 本章总结
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="chapter6/6.0-chinese.html">
            
                <a href="chapter6/6.0-chinese.html">
            
                    
                    第6章 设计基于锁的并发数据结构
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.13.1" data-path="chapter6/6.1-chinese.html">
            
                <a href="chapter6/6.1-chinese.html">
            
                    
                    6.1 并发设计的意义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.2" data-path="chapter6/6.2-chinese.html">
            
                <a href="chapter6/6.2-chinese.html">
            
                    
                    6.2 基于锁的并发数据结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.3" data-path="chapter6/6.3-chinese.html">
            
                <a href="chapter6/6.3-chinese.html">
            
                    
                    6.3 设计更加复杂的数据结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.4" data-path="chapter6/6.4-chinese.html">
            
                <a href="chapter6/6.4-chinese.html">
            
                    
                    6.4 本章总结
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="chapter7/7.0-chinese.html">
            
                <a href="chapter7/7.0-chinese.html">
            
                    
                    第7章 设计无锁的并发数据结构
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.14.1" data-path="chapter7/7.1-chinese.html">
            
                <a href="chapter7/7.1-chinese.html">
            
                    
                    7.1 定义和意义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.2" data-path="chapter7/7.2-chinese.html">
            
                <a href="chapter7/7.2-chinese.html">
            
                    
                    7.2 无锁数据结构的例子
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.3" data-path="chapter7/7.3-chinese.html">
            
                <a href="chapter7/7.3-chinese.html">
            
                    
                    7.3 设计无锁数据结构的指导建议
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.4" data-path="chapter7/7.4-chinese.html">
            
                <a href="chapter7/7.4-chinese.html">
            
                    
                    7.4 本章总结
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="chapter8/8.0-chinese.html">
            
                <a href="chapter8/8.0-chinese.html">
            
                    
                    第8章 并发设计
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.15.1" data-path="chapter8/8.1-chinese.html">
            
                <a href="chapter8/8.1-chinese.html">
            
                    
                    8.1 线程间划分工作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.2" data-path="chapter8/8.2-chinese.html">
            
                <a href="chapter8/8.2-chinese.html">
            
                    
                    8.2 并发代码的性能
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.3" data-path="chapter8/8.3-chinese.html">
            
                <a href="chapter8/8.3-chinese.html">
            
                    
                    8.3 为多线程性能设计数据结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.4" data-path="chapter8/8.4-chinese.html">
            
                <a href="chapter8/8.4-chinese.html">
            
                    
                    8.4 设计并发代码的注意事项
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.5" data-path="chapter8/8.5-chinese.html">
            
                <a href="chapter8/8.5-chinese.html">
            
                    
                    8.5 在实践中设计并发代码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.6" data-path="chapter8/8.6-chinese.html">
            
                <a href="chapter8/8.6-chinese.html">
            
                    
                    8.6 本章总结
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="chapter9/9.0-chinese.html">
            
                <a href="chapter9/9.0-chinese.html">
            
                    
                    第9章 高级线程管理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.16.1" data-path="chapter9/9.1-chinese.html">
            
                <a href="chapter9/9.1-chinese.html">
            
                    
                    9.1 线程池
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16.2" data-path="chapter9/9.2-chinese.html">
            
                <a href="chapter9/9.2-chinese.html">
            
                    
                    9.2 中断线程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16.3" data-path="chapter9/9.3-chinese.html">
            
                <a href="chapter9/9.3-chinese.html">
            
                    
                    9.3 本章总结
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="chapter10/10.0-chinese.html">
            
                <a href="chapter10/10.0-chinese.html">
            
                    
                    第10章 并行算法
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.17.1" data-path="chapter10/10.1-chinese.html">
            
                <a href="chapter10/10.1-chinese.html">
            
                    
                    10.1 并行化标准库算法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.2" data-path="chapter10/10.2-chinese.html">
            
                <a href="chapter10/10.2-chinese.html">
            
                    
                    10.2 执行策略
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.3" data-path="chapter10/10.3-chinese.html">
            
                <a href="chapter10/10.3-chinese.html">
            
                    
                    10.3 C++标准库中的并行算法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.4" data-path="chapter10/10.4-chinese.html">
            
                <a href="chapter10/10.4-chinese.html">
            
                    
                    10.4 本章总结
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.18" data-path="chapter11/11.0-chinese.html">
            
                <a href="chapter11/11.0-chinese.html">
            
                    
                    第11章 测试和调试多线程应用
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.18.1" data-path="chapter11/11.1-chinese.html">
            
                <a href="chapter11/11.1-chinese.html">
            
                    
                    11.1 与并发相关的Bug
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18.2" data-path="chapter11/11.2-chinese.html">
            
                <a href="chapter11/11.2-chinese.html">
            
                    
                    11.2 定位并发Bug的技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18.3" data-path="chapter11/11.3-chinese.html">
            
                <a href="chapter11/11.3-chinese.html">
            
                    
                    11.3 本章总结
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.19" data-path="appendix_A/A.0-chinese.html">
            
                <a href="appendix_A/A.0-chinese.html">
            
                    
                    附录A C++11特性简明参考(部分)
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.19.1" data-path="appendix_A/A.1-chinese.html">
            
                <a href="appendix_A/A.1-chinese.html">
            
                    
                    A.1 右值引用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.19.2" data-path="appendix_A/A.2-chinese.html">
            
                <a href="appendix_A/A.2-chinese.html">
            
                    
                    A.2 删除函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.19.3" data-path="appendix_A/A.3-chinese.html">
            
                <a href="appendix_A/A.3-chinese.html">
            
                    
                    A.3 默认函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.19.4" data-path="appendix_A/A.4-chinese.html">
            
                <a href="appendix_A/A.4-chinese.html">
            
                    
                    A.4 常量表达式函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.19.5" data-path="appendix_A/A.5-chinese.html">
            
                <a href="appendix_A/A.5-chinese.html">
            
                    
                    A.5 Lambda函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.19.6" data-path="appendix_A/A.6-chinese.html">
            
                <a href="appendix_A/A.6-chinese.html">
            
                    
                    A.6 变参模板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.19.7" data-path="appendix_A/A.7-chinese.html">
            
                <a href="appendix_A/A.7-chinese.html">
            
                    
                    A.7 自动推导变量类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.19.8" data-path="appendix_A/A.8-chinese.html">
            
                <a href="appendix_A/A.8-chinese.html">
            
                    
                    A.8 线程本地变量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.19.9" data-path="appendix_A/A.9-chinese.html">
            
                <a href="appendix_A/A.9-chinese.html">
            
                    
                    A.9 模板类参数的推导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.19.10" data-path="appendix_A/A.10-chinese.html">
            
                <a href="appendix_A/A.10-chinese.html">
            
                    
                    A.10 本章总结
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.20" data-path="appendix_B/B.0-chinese.html">
            
                <a href="appendix_B/B.0-chinese.html">
            
                    
                    附录B 并发库简要对比
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.21" data-path="appendix_C/C.0-chinese.html">
            
                <a href="appendix_C/C.0-chinese.html">
            
                    
                    附录C 消息传递框架与完整的ATM示例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.22" data-path="appendix_D/D.0-chinese.html">
            
                <a href="appendix_D/D.0-chinese.html">
            
                    
                    附录D C++线程类库参考
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.22.1" data-path="appendix_D/D.1-chinese.html">
            
                <a href="appendix_D/D.1-chinese.html">
            
                    
                    D.1 chrono头文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.22.2" data-path="appendix_D/D.2-chinese.html">
            
                <a href="appendix_D/D.2-chinese.html">
            
                    
                    D.2 condition_variable头文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.22.3" data-path="appendix_D/D.3-chinese.html">
            
                <a href="appendix_D/D.3-chinese.html">
            
                    
                    D.3 atomic头文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.22.4" data-path="appendix_D/D.4-chinese.html">
            
                <a href="appendix_D/D.4-chinese.html">
            
                    
                    D.4 future头文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.22.5" data-path="appendix_D/D.5-chinese.html">
            
                <a href="appendix_D/D.5-chinese.html">
            
                    
                    D.5 mutex头文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.22.6" data-path="appendix_D/D.6-chinese.html">
            
                <a href="appendix_D/D.6-chinese.html">
            
                    
                    D.6 ratio头文件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.22.7" data-path="appendix_D/D.7-chinese.html">
            
                <a href="appendix_D/D.7-chinese.html">
            
                    
                    D.7 thread头文件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >前言</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x524D;&#x8A00;">&#x524D;&#x8A00;</h1>
<p>&#x4E0E;&#x591A;&#x7EBF;&#x7A0B;&#x7684;&#x9082;&#x9005;&#x662F;&#x5728;&#x6BD5;&#x4E1A;&#x540E;&#x7684;&#x7B2C;&#x4E00;&#x4EFD;&#x5DE5;&#x4F5C;&#x4E2D;&#x3002;&#x90A3;&#x65F6;&#xFF0C;&#x6B63;&#x5728;&#x5199;&#x4E00;&#x4E2A;&#x586B;&#x5145;&#x6570;&#x636E;&#x5E93;&#x7684;&#x7A0B;&#x5E8F;&#xFF0C;&#x9700;&#x8981;&#x5904;&#x7406;&#x7684;&#x6570;&#x636E;&#x91CF;&#x5F88;&#x5927;&#xFF0C;&#x6BCF;&#x6761;&#x8BB0;&#x5F55;&#x90FD;&#x662F;&#x72EC;&#x7ACB;&#x7684;&#xFF0C;&#x5E76;&#x4E14;&#x9700;&#x8981;&#x5728;&#x63D2;&#x5165;&#x6570;&#x636E;&#x5E93;&#x4E4B;&#x524D;&#xFF0C;&#x5BF9;&#x6570;&#x636E;&#x91CF;&#x8FDB;&#x884C;&#x5408;&#x7406;&#x5206;&#x914D;&#x3002;&#x4E3A;&#x4E86;&#x5145;&#x5206;&#x5229;&#x7528;10&#x6838;UltraSPARC CPU(Ultra Scalable Processor ARChitecture&#xFF0C;&#x7A76;&#x6781;&#x53EF;&#x6269;&#x5904;&#x7406;&#x5668;&#x67B6;&#x6784;(&#x5927;&#x7AEF;))&#xFF0C;&#x6211;&#x4EEC;&#x4F7F;&#x7528;&#x4E86;&#x591A;&#x7EBF;&#x7A0B;&#xFF0C;&#x6BCF;&#x4E2A;&#x7EBF;&#x7A0B;&#x4F1A;&#x5904;&#x7406;&#x6240;&#x8981;&#x8BB0;&#x5F55;&#x7684;&#x6570;&#x636E;&#x3002;&#x6211;&#x4EEC;&#x4F7F;&#x7528;C++&#x548C;POSIX&#x7EBF;&#x7A0B;&#x5E93;&#x5B8C;&#x6210;&#x7F16;&#x7801;&#xFF0C;&#x4E5F;&#x9047;&#x5230;&#x4E86;&#x4E00;&#x4E9B;&#x95EE;&#x9898;&#x2014;&#x2014;&#x5F53;&#x65F6;&#xFF0C;&#x591A;&#x7EBF;&#x7A0B;&#x5BF9;&#x4E8E;&#x6211;&#x4EEC;&#x6765;&#x8BF4;&#x662F;&#x4E00;&#x4E2A;&#x65B0;&#x4E8B;&#x7269;&#x2014;&#x2014;&#x6700;&#x540E;&#x8FD8;&#x662F;&#x5B8C;&#x6210;&#x4E86;&#x3002;&#x4E5F;&#x662F;&#x505A;&#x8FD9;&#x4E2A;&#x9879;&#x76EE;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x6211;&#x5F00;&#x59CB;&#x6CE8;&#x610F;C++&#x6807;&#x51C6;&#x59D4;&#x5458;&#x4F1A;&#x548C;&#x521A;&#x521A;&#x53D1;&#x5E03;&#x7684;C++&#x6807;&#x51C6;&#x3002;</p>
<p>&#x6211;&#x5BF9;&#x591A;&#x7EBF;&#x7A0B;&#x548C;&#x5E76;&#x53D1;&#x6709;&#x7740;&#x6D53;&#x539A;&#x7684;&#x5174;&#x8DA3;&#x3002;&#x867D;&#x7136;&#xFF0C;&#x522B;&#x4EBA;&#x89C9;&#x5F97;&#x591A;&#x7EBF;&#x7A0B;&#x548C;&#x5E76;&#x53D1;&#x96BE;&#x7528;&#x3001;&#x590D;&#x6742;&#xFF0C;&#x8FD8;&#x4F1A;&#x8BA9;&#x4EE3;&#x7801;&#x51FA;&#x73B0;&#x5404;&#x79CD;&#x5404;&#x6837;&#x7684;&#x95EE;&#x9898;&#xFF0C;&#x4E0D;&#x8FC7;&#xFF0C;&#x5728;&#x6211;&#x770B;&#x6765;&#x8FD9;&#x662F;&#x4E00;&#x79CD;&#x5F3A;&#x6709;&#x529B;&#x7684;&#x5DE5;&#x5177;&#xFF0C;&#x80FD;&#x5145;&#x5206;&#x4F7F;&#x7528;&#x786C;&#x4EF6;&#x8D44;&#x6E90;&#xFF0C;&#x8BA9;&#x7A0B;&#x5E8F;&#x8FD0;&#x884C;&#x7684;&#x66F4;&#x5FEB;&#x3002;</p>
<p>&#x4ECE;&#x90A3;&#x4EE5;&#x540E;&#xFF0C;&#x6211;&#x5F00;&#x59CB;&#x4F7F;&#x7528;&#x5E76;&#x53D1;&#x5728;&#x5355;&#x6838;&#x673A;&#x5668;&#x4E0A;&#x5BF9;&#x5E94;&#x7528;&#x6027;&#x80FD;&#x548C;&#x54CD;&#x5E94;&#x65F6;&#x957F;&#x8FDB;&#x884C;&#x6539;&#x5584;&#xFF0C;&#x591A;&#x7EBF;&#x7A0B;&#x53EF;&#x4EE5;&#x5E2E;&#x52A9;&#x4F60;&#x9690;&#x85CF;&#x4E00;&#x4E9B;&#x8017;&#x65F6;&#x7684;&#x64CD;&#x4F5C;&#xFF0C;&#x6BD4;&#x5982;I/O&#x64CD;&#x4F5C;&#x3002;&#x540C;&#x65F6;&#xFF0C;&#x6211;&#x4E5F;&#x5B66;&#x7740;&#x5728;&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x4E0A;&#x4F7F;&#x7528;&#x591A;&#x7EBF;&#x7A0B;&#xFF0C;&#x5E76;&#x4E14;&#x4E86;&#x89E3;Intel CPU&#x5982;&#x4F55;&#x5904;&#x7406;&#x4EFB;&#x52A1;&#x5207;&#x6362;&#x3002;</p>
<p>&#x540C;&#x65F6;&#xFF0C;&#x5BF9;C++&#x7684;&#x5174;&#x8DA3;&#x8BA9;&#x6211;&#x4E0E;<a href="http://accu.org/" target="_blank">ACCU</a>&#x6709;&#x4E86;&#x8054;&#x7CFB;&#xFF0C;&#x4E4B;&#x540E;&#x662F;<a href="http://www.bsigroup.com/en-GB/standards/" target="_blank">BSI</a>(&#x82F1;&#x56FD;&#x6807;&#x51C6;&#x59D4;&#x5458;&#x4F1A;)&#x4E2D;&#x7684;C++&#x6807;&#x51C6;&#x59D4;&#x5458;&#x4F1A;&#xFF0C;&#x8FD8;&#x6709;Boost&#x3002;&#x4E5F;&#x662F;&#x56E0;&#x4E3A;&#x5174;&#x8DA3;&#x7684;&#x539F;&#x56E0;&#xFF0C;&#x6211;&#x53C2;&#x4E0E;&#x4E86;Boost&#x7EBF;&#x7A0B;&#x5E93;&#x7684;&#x521D;&#x671F;&#x5F00;&#x53D1;(&#x867D;&#x7136;&#x521D;&#x671F;&#x7248;&#x672C;&#x5DF2;&#x88AB;&#x653E;&#x5F03;)&#x3002;&#x6211;&#x66FE;&#x662F;Boost&#x7EBF;&#x7A0B;&#x5E93;&#x7684;&#x4E3B;&#x8981;&#x5F00;&#x53D1;&#x8005;&#x548C;&#x7EF4;&#x62A4;&#x8005;&#xFF0C;&#x73B0;&#x5728;&#x8FD9;&#x9879;&#x4EFB;&#x52A1;&#x5DF2;&#x7ECF;&#x4EA4;&#x7ED9;&#x4E86;&#x5176;&#x4ED6;&#x4EBA;&#x3002;</p>
<p>&#x4F5C;&#x4E3A;C++&#x6807;&#x51C6;&#x59D4;&#x5458;&#x4F1A;&#x7684;&#x4E00;&#x5458;&#xFF0C;&#x5E0C;&#x671B;&#x6539;&#x5584;&#x73B0;&#x6709;&#x6807;&#x51C6;&#x7684;&#x7F3A;&#x9677;&#x548C;&#x4E0D;&#x8DB3;&#xFF0C;&#x5E76;&#x4E3A;&#x65B0;&#x6807;&#x51C6;&#x63D0;&#x51FA;&#x5EFA;&#x8BAE;(&#x65B0;&#x6807;&#x51C6;&#x547D;&#x540D;&#x4E3A;C++0x&#x662F;&#x5E0C;&#x671B;&#x5B83;&#x80FD;&#x5728;2009&#x5E74;&#x53D1;&#x5E03;&#xFF0C;&#x4E0D;&#x8FC7;&#x6700;&#x540E;&#x56E0;&#x4E3A;2011&#x5E74;&#x624D;&#x53D1;&#x5E03;&#xFF0C;&#x6240;&#x4EE5;&#x5B98;&#x65B9;&#x547D;&#x540D;&#x4E3A;C++11)&#x3002;&#x6211;&#x4E5F;&#x53C2;&#x4E0E;&#x5F88;&#x591A;BSI&#x7684;&#x5DE5;&#x4F5C;&#xFF0C;&#x5E76;&#x4E14;&#x4E5F;&#x4E3A;&#x81EA;&#x5DF1;&#x7684;&#x5EFA;&#x8BAE;&#x8D77;&#x8349;&#x5EFA;&#x8BAE;&#x4E66;&#x3002;&#x56E0;&#x4E3A;&#x6211;&#x8D77;&#x8349;&#x53CA;&#x5408;&#x8457;&#x7684;&#x591A;&#x7EBF;&#x7A0B;&#x548C;&#x5E76;&#x53D1;&#x76F8;&#x5173;&#x7684;&#x8349;&#x6848;&#xFF0C;&#x5C06;&#x4F1A;&#x6210;&#x4E3A;&#x65B0;&#x6807;&#x51C6;&#x7684;&#x4E00;&#x90E8;&#x5206;&#xFF0C;&#x6240;&#x4EE5;&#x5F53;&#x59D4;&#x5458;&#x4F1A;&#x5C06;&#x591A;&#x7EBF;&#x7A0B;&#x63D0;&#x4E0A;C++&#x6807;&#x51C6;&#x7684;&#x65E5;&#x7A0B;&#x65F6;&#xFF0C;&#x6211;&#x9AD8;&#x5174;&#x5F97;&#x5DEE;&#x70B9;&#x98DE;&#x8D77;&#x6765;&#x3002;&#x6211;&#x4E5F;&#x4F1A;&#x7EE7;&#x7EED;&#x5173;&#x6CE8;&#x5E76;&#x53C2;&#x4E0E;C++17&#x6807;&#x51C6;&#x5E76;&#x884C;&#x90E8;&#x5206;&#x7684;&#x4FEE;&#x8BA2;&#x3001;&#x5E76;&#x53D1;&#x6280;&#x672F;&#x6807;&#x51C6;(&#x7684;&#x6269;&#x5C55;)&#xFF0C;&#x4EE5;&#x53CA;&#x7ED9;&#x672A;&#x6765;&#x5E76;&#x53D1;&#x6807;&#x51C6;&#x7684;&#x4E00;&#x4E9B;&#x5EFA;&#x8BAE;&#x3002;&#x65B0;&#x6807;&#x51C6;&#x5C06;&#x6211;(&#x8BA1;&#x7B97;&#x673A;&#x76F8;&#x5173;)&#x7684;&#x4E24;&#x5927;&#x5174;&#x8DA3;&#x7231;&#x597D;&#x2014;&#x2014;C++&#x548C;&#x591A;&#x7EBF;&#x7A0B;&#x2014;&#x2014;&#x7ED3;&#x5408;&#x8D77;&#x6765;&#xFF0C;&#x60F3;&#x60F3;&#x8FD8;&#x6709;&#x70B9;&#x5C0F;&#x6FC0;&#x52A8;&#x3002;</p>
<p>&#x672C;&#x4E66;&#x65E8;&#x5728;&#x6559;&#x4F1A;&#x5176;&#x4ED6;C++&#x5F00;&#x53D1;&#x8005;&#x5982;&#x4F55;&#x5B89;&#x5168;&#x3001;&#x9AD8;&#x6548;&#x5730;&#x4F7F;&#x7528;C++17&#x7EBF;&#x7A0B;&#x5E93;&#x548C;&#x5E76;&#x53D1;&#x6280;&#x672F;&#x6807;&#x51C6;(&#x7684;&#x6269;&#x5C55;)&#x3002;&#x5E0C;&#x671B;&#x6211;&#x5BF9;C++&#x548C;&#x591A;&#x7EBF;&#x7A0B;&#x7684;&#x70ED;&#x60C5;&#xFF0C;&#x4E5F;&#x80FD;&#x611F;&#x67D3;&#x8BFB;&#x8005;&#x4EEC;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="Praise_for_the_first_edition.html" class="navigation navigation-prev " aria-label="Previous page: 第一版的赞许">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="acknowledgments-chinese.html" class="navigation navigation-next " aria-label="Next page: 感谢">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"前言","level":"1.3","depth":1,"next":{"title":"感谢","level":"1.4","depth":1,"path":"content/acknowledgments-chinese.md","ref":"content/acknowledgments-chinese.md","articles":[]},"previous":{"title":"第一版的赞许","level":"1.2","depth":1,"path":"content/Praise_for_the_first_edition.md","ref":"content/Praise_for_the_first_edition.md","articles":[]},"dir":"ltr"},"config":{"plugins":["livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"plugins":["katex","ace"],"livereload":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"fontSettings":{"theme":"white","family":"msyh","size":2},"highlight":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"陈晓伟 chenxiaowei","pdf":{"pageNumbers":false,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":10,"left":10,"top":10,"bottom":20}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"C++并发编程实战（第2版）","language":"zh-hans","gitbook":"*","description":"《C++ Concurrency In Action - SECOND EDITION》英文版的中文翻译版。","direction":"ltr"},"file":{"path":"content/preface-chinese.md","mtime":"2022-11-19T02:54:31.326Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2022-11-19T07:50:48.148Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

